<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
	<th:block th:include="include :: header('招聘列表')" />
</head>
<body class="gray-bg">
	<div class="container-div">
		<div class="row">
			<div class="btn-group-sm" id="toolbar" role="group">
				<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="hcy:invite:add">
	                <i class="fa fa-plus"></i> 新增
	            </a>
	        </div>
	        <div class="col-sm-12 select-table table-striped">
			    <table id="bootstrap-table"></table>
			</div>
		</div>
	</div>
	<th:block th:include="include :: footer" />
	<script th:inline="javascript">

		var datas = [[${@dict.getType('sys_normal_disable')}]];
		var prefix = ctx + "hcy/invite";

		$(function() {
			var options = {
				url: prefix + "/list",
				createUrl: prefix + "/add",
				modalName: "岗位",
				columns: [{
					checkbox: true
				},
					{
						field: 'inviteName',
						title: '员工姓名'
					},
					{
						field: 'inviteSex',
						title: '性别',
					},
					{
						field: 'inviteJob',
						title: '应聘职位',
					},
					{
						field: 'invitePhone',
						title: '手机号',
					},
					{
						field: 'inviteStatus',
						title: '状态',
					},
					{
						field: 'inviteDepartment',
						title: '应聘部门',
					},
					{
						field: 'inviteExsalary',
						title: '薪资',
					},
				]};
		    $.table.init(options);
		});
	</script>
</body>
</html>